package com.example.test.责任链1;


public class AddFourServiceImpl extends AddMethodService {

    @Override
    public int addNum(int num) {
        num = num + 4;
        System.out.println(num);
        return num;
    }
}
